const filterOption = {
	items: [{
			label: "关键字",
			type: "input",
			data: undefined,
			placeholder: "订单编号/售中单号/定制编码/收件人/手机号/用户ID",
			value: undefined,
			key: "a1"
		},
		{
			label: "售中类型",
			type: "dropdown",
			data: [{
					label: "常规售后",
					value: "1"
				},
				{
					label: "升级换款",
					value: "2"
				}
			],
			placeholder: "请选择",
			value: undefined,
			key: "a3"
		},
		{
			label: "订单状态",
			type: "dropdown",
			data: [{
					label: "常规售后",
					value: "1"
				},
				{
					label: "升级换款",
					value: "2"
				}
			],
			placeholder: "请选择",
			value: undefined,
			key: "a31"
		},
		{
			label: "售中状态",
			type: "dropdown",
			data: [{
					label: "常规售后",
					value: "1"
				},
				{
					label: "升级换款",
					value: "2"
				}
			],
			placeholder: "请选择",
			value: undefined,
			key: "a31"
		},
		{
			label: "销售渠道",
			type: "dropdown",
			data: [{
					label: "常规售后",
					value: "1"
				},
				{
					label: "升级换款",
					value: "2"
				}
			],
			placeholder: "请选择",
			value: undefined,
			key: "a31"
		},
		{
			label: "销售人员",
			type: "dropdown",
			data: [{
					label: "常规售后",
					value: "1"
				},
				{
					label: "升级换款",
					value: "2"
				}
			],
			placeholder: "请选择",
			value: undefined,
			key: "a31"
		},
		{
			label: "发货方式",
			type: "dropdown",
			data: [{
					label: "常规售后",
					value: "1"
				},
				{
					label: "升级换款",
					value: "2"
				}
			],
			placeholder: "请选择",
			value: undefined,
			key: "a31"
		},
		{
			label: "店铺编号",
			type: "input",
			data: undefined,
			placeholder: "",
			value: undefined,
			key: "a2"
		},
		{
			label: "下单时间",
			type: "datetimerange",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "a11"
		},
		{
			label: "售中申请时间",
			type: "datetimerange",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "a12"
		},
	],
	btnGroup: [{
			label: "查询",
			type: "search"
		},
		{
			label: "清除",
			type: "clear"
		}
	],
	close: true
};
const pager = {
	params: {
		pageIndex: 1,
		pageSize: 10,
	},
	pageTotal: 100,
	pageSizeArr: [10, 20, 30, 40]
};
const path = ['销售管理', {label: '售后订单列表',
	name: 'afterSole'}, '查看售后订单'];
const tabFormInline = [{
		label: '售后单号',
		value: '',
	},
	{
		label: '售后状态',
		value: '',
	},
	{
		label: 'sap售中单号',
		value: ''
	},
	{
		label: '原销售订单号',
		value: ''
	},
	{
		label: '原sap销售订单号',
		value: ''
	}
];
const refundStep = {
	activeStep: 0,
	step: [{
			title: '提交申请',
			description: ''
		},
		{
			title: '售中单审核',
			description: ''
		},
		{
			title: '退款成功',
			description: ''
		},
	]
};
const tableFormInline = [{
		label: 'sap销售订单号',
		value: '',
	},
	{
		label: '状态',
		value: '',
	},
	{
		label: '支付状态',
		value: ''
	},
	{
		label: '首次支付时间',
		value: ''
	},
	{
		label: '下单人',
		value: ''
	},
	{
		label: '配送类型',
		value: ''
	},
	{
		label: '发货门店',
		value: ''
	},
	{
		label: '销售来源',
		value: ''
	},
	{
		label: '销售员',
		value: ''
	}
];
const editDialogFormData = {
	shippingMethod: '0', //配送方式(0:快递,1:自提；)
	shipper: undefined,
	originChannel: undefined,
	salesman: undefined,
	recipientName: undefined,
	recipientPhone: undefined,
	messagePhone: undefined,
	addressType: undefined,
	location: undefined,
	detailedAddress: undefined,
};
const returnGoodsInfoTableCol = [
	{prop:"saleOrderNo", label:"销售订单号", width:"100",},
	{prop:"orderPrice", label:"订单金额", width:"120",},
	{prop:"actualPay", label:"商品实付金额", width:"120",},
	{prop:"totalFee", label:"合计退款金额", width:"120",},
	{prop:"refundGoodRemark", label:"备注"},
]
let Model = {
	data() {
		return {
			Model: {
				activeTab: '1',
				addCostDialogFlag:false,
				addCostData:{},
				addressList:[],
				defaultEditDialogFormData:editDialogFormData,
				detailDialogFlag: false,
				detailTableFrom: {
					src: require('@/assets/img/icon_collapse.png'),
					flag: true
				},
				editDialogNewAddress:false,
				editDialogFlag:false,
				editDialogFormData,
				editDialogItemAddressBoxRadio:undefined,
				editDialogItemOption:[],
				
				filterOption,
				goodInfoId:undefined,
				goodsId:undefined,
				idCard: undefined,
				path,
				pager,
				aftersaleStatus:undefined,
				returnGoodsInfoTableCol:returnGoodsInfoTableCol,
				defaultReturnGoodsInfoTableCol:returnGoodsInfoTableCol,
				refundStep,
				refundList: [],
				refundCost:{
					d:undefined
				},
				saleOrderGiftsList: [],
				saleReceivingGoods: [],
				saleOrderPayList: [],
				saleLogList: [],
				tableData: [],
				tabFormInline,
				tableFormInline,
				tab1TableDetail1: {
					src: require('@/assets/img/icon_collapse.png'),
					flag: true
				},
				tab1TableDetail2: {
					src: require('@/assets/img/icon_collapse.png'),
					flag: true
				},
				tab1TableDetail3: {
					src: require('@/assets/img/icon_collapse.png'),
					flag: true
				},
				tab2TableDetail1: {
					src: require('@/assets/img/icon_collapse.png'),
					flag: true
				},
				tab2TableDetail2: {
					src: require('@/assets/img/icon_collapse.png'),
					flag: true
				},
				tab3TableDetail1: {
					src: require('@/assets/img/icon_collapse.png'),
					flag: true
				},
				tab3TableDetail2: {
					src: require('@/assets/img/icon_collapse.png'),
					flag: true
				},
				tab4TableDetail1: {
					src: require('@/assets/img/icon_collapse.png'),
					flag: true
				},
			}
		}
	}
}
export default Model;
